/*
 * @ author madman
 * @ use 通知
 */
var mongoose = require("mongoose");
var Schema = mongoose.Schema;
var shortid = require('shortid');
var countrySchema = new Schema({
    dialingPrefix: {
        type: String,
    },
    defaultPrice: {
        type: String,
    },
    currency: {
        type: String,
    },
    countryDisplayName: {
        type: String,
    },
    countryCode: {
        type: String,
    },
    countryName: {
        type: String,
    },
    networks: {
        type: Array
    },
    // 新建时间
    createdAt: {
        type: Date,
        default: Date.now
    },
    // 更新时间
    updataAt: {
        type: Date
    }
});

module.exports = mongoose.model('j_country', countrySchema, 'j_country');